package com.spike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spike.model.Book;

public interface BooksService extends IService<Book> {
    Integer addBook(Book book);

    Boolean updateBook(Book book, Integer bookId);
    Boolean delete(Integer bookId, Integer version);
}
